package com.cll.prototype.user;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 描述信息:
 *
 * @author CLL
 * @version 1.0
 * @date 2020/11/8 14:31
 */
@MapperScan(basePackages = "com.cll.prototype.api.user.mapper")
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class UserApplication8081 {

    private static final Logger logger = LoggerFactory.getLogger(UserApplication8081.class);

    public static void main(String[] args) {
        logger.info("===>>> user module is starting...");
        SpringApplication.run(UserApplication8081.class, args);
        logger.info("===>>> user module is started success!");
    }
}
